import {combineReducers} from 'redux';
import { connectRouter } from 'connected-react-router';
import {createBrowserHistory} from 'history';

export const history = createBrowserHistory();

// reducers
import homeReducers from './homeReducers';


// 注册reduces
export const reducers = combineReducers(
  { 
    router: connectRouter(history),
    homeReducers
  }
)
